home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / utils / flow-ctrl.elc.z / flow-ctrl.elc
Emacs Compiled Lisp  |  1998-05-21  |  2.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 35 3a 35 30 20 31 | 39 39 38 0a 3b 3b 3b 20 |:55:50 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 75 74 69 6c |s-20.3/l|isp/util|
|000000a0| 73 2f 66 6c 6f 77 2d 63 | 74 72 6c 2e 65 6c 0a 3b |s/flow-c|trl.el.;|
|000000b0| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|000000c0| 20 32 30 2e 34 20 22 45 | 6d 65 72 61 6c 64 22 20 | 20.4 "E|merald" |
|000000d0| 58 45 6d 61 63 73 20 20 | 4c 75 63 69 64 2e 0a 3b |XEmacs |Lucid..;|
|000000e0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000f0| 69 6f 6e 20 32 2e 32 35 | 20 58 45 6d 61 63 73 3b |ion 2.25| XEmacs;|
|00000100| 20 32 32 2d 4d 61 72 2d | 39 36 2e 0a 3b 3b 3b 20 | 22-Mar-|96..;;; |
|00000110| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|00000120| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|00000130| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000140| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000150| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 39 2e 0a 0a |t in Ema|cs 19...|
|00000160| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000170| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000180| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000190| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|000001a0| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|000001b0| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|000001c0| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|000001d0| 65 72 73 69 6f 6e 20 22 | 32 30 22 29 29 29 0a 20 |ersion "|20"))). |
|000001e0| 20 20 20 28 65 72 72 6f | 72 20 22 60 66 6c 6f 77 | (erro|r "`flow|
|000001f0| 2d 63 74 72 6c 2e 65 6c | 27 20 77 61 73 20 63 6f |-ctrl.el|' was co|
|00000200| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|00000210| 20 32 30 22 29 29 0a 0a | 28 6f 72 20 28 62 6f 75 | 20"))..|(or (bou|
|00000220| 6e 64 70 20 27 63 75 72 | 72 65 6e 74 2d 6c 6f 61 |ndp 'cur|rent-loa|
|00000230| 64 2d 6c 69 73 74 29 20 | 28 73 65 74 71 20 63 75 |d-list) |(setq cu|
|00000240| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 20 |rrent-lo|ad-list |
|00000250| 6e 69 6c 29 29 0a 0a 0a | 23 40 36 39 20 43 68 61 |nil))...|#@69 Cha|
|00000260| 72 61 63 74 65 72 20 74 | 68 61 74 20 72 65 70 6c |racter t|hat repl|
|00000270| 61 63 65 73 20 43 2d 73 | 2c 20 77 68 65 6e 20 66 |aces C-s|, when f|
|00000280| 6c 6f 77 20 63 6f 6e 74 | 72 6f 6c 20 68 61 6e 64 |low cont|rol hand|
|00000290| 6c 69 6e 67 20 69 73 20 | 65 6e 61 62 6c 65 64 2e |ling is |enabled.|
|000002a0| 1f 0a 28 64 65 66 76 61 | 72 20 66 6c 6f 77 2d 63 |..(defva|r flow-c|
|000002b0| 6f 6e 74 72 6f 6c 2d 63 | 2d 73 2d 72 65 70 6c 61 |ontrol-c|-s-repla|
|000002c0| 63 65 6d 65 6e 74 20 3f | 5c 5e 5c 5c 20 28 23 24 |cement ?|\^\\ (#$|
|000002d0| 20 2e 20 36 30 35 29 29 | 0a 23 40 36 39 20 43 68 | . 605))|.#@69 Ch|
|000002e0| 61 72 61 63 74 65 72 20 | 74 68 61 74 20 72 65 70 |aracter |that rep|
|000002f0| 6c 61 63 65 73 20 43 2d | 71 2c 20 77 68 65 6e 20 |laces C-|q, when |
|00000300| 66 6c 6f 77 20 63 6f 6e | 74 72 6f 6c 20 68 61 6e |flow con|trol han|
|00000310| 64 6c 69 6e 67 20 69 73 | 20 65 6e 61 62 6c 65 64 |dling is| enabled|
|00000320| 2e 1f 0a 28 64 65 66 76 | 61 72 20 66 6c 6f 77 2d |...(defv|ar flow-|
|00000330| 63 6f 6e 74 72 6f 6c 2d | 63 2d 71 2d 72 65 70 6c |control-|c-q-repl|
|00000340| 61 63 65 6d 65 6e 74 20 | 3f 5c 5e 5e 20 28 23 24 |acement |?\^^ (#$|
|00000350| 20 2e 20 37 33 34 29 29 | 0a 23 40 31 37 33 20 54 | . 734))|.#@173 T|
|00000360| 6f 67 67 6c 65 20 66 6c | 6f 77 20 63 6f 6e 74 72 |oggle fl|ow contr|
|00000370| 6f 6c 20 68 61 6e 64 6c | 69 6e 67 2e 0a 57 68 65 |ol handl|ing..Whe|
|00000380| 6e 20 68 61 6e 64 6c 69 | 6e 67 20 69 73 20 65 6e |n handli|ng is en|
|00000390| 61 62 6c 65 64 2c 20 75 | 73 65 72 20 63 61 6e 20 |abled, u|ser can |
|000003a0| 74 79 70 65 20 43 2d 73 | 20 61 73 20 43 2d 5c 2c |type C-s| as C-\,|
|000003b0| 20 61 6e 64 20 43 2d 71 | 20 61 73 20 43 2d 5e 2e | and C-q| as C-^.|
|000003c0| 0a 57 69 74 68 20 61 72 | 67 2c 20 65 6e 61 62 6c |.With ar|g, enabl|
|000003d0| 65 20 66 6c 6f 77 20 63 | 6f 6e 74 72 6f 6c 20 6d |e flow c|ontrol m|
|000003e0| 6f 64 65 20 69 66 20 61 | 72 67 20 69 73 20 70 6f |ode if a|rg is po|
|000003f0| 73 69 74 69 76 65 2c 20 | 6f 74 68 65 72 77 69 73 |sitive, |otherwis|
|00000400| 65 20 64 69 73 61 62 6c | 65 2e 1f 0a 28 64 65 66 |e disabl|e...(def|
|00000410| 61 6c 69 61 73 20 27 65 | 6e 61 62 6c 65 2d 66 6c |alias 'e|nable-fl|
|00000420| 6f 77 2d 63 6f 6e 74 72 | 6f 6c 20 23 5b 28 26 6f |ow-contr|ol #[(&o|
|00000430| 70 74 69 6f 6e 61 6c 20 | 61 72 67 75 6d 65 6e 74 |ptional |argument|
|00000440| 29 20 22 08 ab 87 c1 08 | 21 c2 58 aa 84 c3 20 41 |) ".....|!.X... A|
|00000450| 40 ab 9f c4 c5 c6 c7 c3 | 20 38 23 88 c8 0e 09 c6 |@.......| 8#.....|
|00000460| 5c 22 88 c8 ca c6 5c 22 | 88 c8 0e 0b c6 5c 22 88 |\"....\"|.....\".|
|00000470| c8 cc c6 5c 22 87 c4 c6 | c5 c7 c3 20 38 23 88 c8 |...\"...|... 8#..|
|00000480| 0e 09 ca 5c 22 88 c8 ca | 0e 09 5c 22 88 c8 0e 0b |...\"...|..\"....|
|00000490| cc 5c 22 88 c8 cc 0e 0b | 5c 22 88 cd ce cf d0 21 |.\".....|\".....!|
|000004a0| d1 51 21 88 d2 c7 21 87 | 22 20 5b 61 72 67 75 6d |.Q!...!.|" [argum|
|000004b0| 65 6e 74 20 70 72 65 66 | 69 78 2d 6e 75 6d 65 72 |ent pref|ix-numer|
|000004c0| 69 63 2d 76 61 6c 75 65 | 20 30 20 63 75 72 72 65 |ic-value| 0 curre|
|000004d0| 6e 74 2d 69 6e 70 75 74 | 2d 6d 6f 64 65 20 73 65 |nt-input|-mode se|
|000004e0| 74 2d 69 6e 70 75 74 2d | 6d 6f 64 65 20 74 20 6e |t-input-|mode t n|
|000004f0| 69 6c 20 32 20 6b 65 79 | 62 6f 61 72 64 2d 74 72 |il 2 key|board-tr|
|00000500| 61 6e 73 6c 61 74 65 20 | 66 6c 6f 77 2d 63 6f 6e |anslate |flow-con|
|00000510| 74 72 6f 6c 2d 63 2d 73 | 2d 72 65 70 6c 61 63 65 |trol-c-s|-replace|
|00000520| 6d 65 6e 74 20 3f 5c 5e | 53 20 66 6c 6f 77 2d 63 |ment ?\^|S flow-c|
|00000530| 6f 6e 74 72 6f 6c 2d 63 | 2d 71 2d 72 65 70 6c 61 |ontrol-c|-q-repla|
|00000540| 63 65 6d 65 6e 74 20 3f | 5c 5e 51 20 6d 65 73 73 |cement ?|\^Q mess|
|00000550| 61 67 65 20 22 58 4f 4e | 2f 58 4f 46 46 20 61 64 |age "XON|/XOFF ad|
|00000560| 6a 75 73 74 6d 65 6e 74 | 20 66 6f 72 20 22 20 67 |justment| for " g|
|00000570| 65 74 65 6e 76 20 22 54 | 45 52 4d 22 20 22 3a 20 |etenv "T|ERM" ": |
|00000580| 20 75 73 65 20 43 2d 5c | 5c 20 66 6f 72 20 43 2d | use C-\|\ for C-|
|00000590| 73 20 20 61 6e 64 20 20 | 75 73 65 20 43 2d 5e 20 |s and |use C-^ |
|000005a0| 66 6f 72 20 43 2d 71 2e | 22 20 73 6c 65 65 70 2d |for C-q.|" sleep-|
|000005b0| 66 6f 72 5d 20 35 20 28 | 23 24 20 2e 20 38 36 33 |for] 5 (|#$ . 863|
|000005c0| 29 20 22 50 22 5d 29 0a | 23 40 35 34 33 20 45 6e |) "P"]).|#@543 En|
|000005d0| 61 62 6c 65 20 66 6c 6f | 77 20 63 6f 6e 74 72 6f |able flo|w contro|
|000005e0| 6c 20 69 66 20 75 73 69 | 6e 67 20 6f 6e 65 20 6f |l if usi|ng one o|
|000005f0| 66 20 61 20 73 70 65 63 | 69 66 69 65 64 20 73 65 |f a spec|ified se|
|00000600| 74 20 6f 66 20 74 65 72 | 6d 69 6e 61 6c 20 74 79 |t of ter|minal ty|
|00000610| 70 65 73 2e 0a 55 73 65 | 20 60 28 65 6e 61 62 6c |pes..Use| `(enabl|
|00000620| 65 2d 66 6c 6f 77 2d 63 | 6f 6e 74 72 6f 6c 2d 6f |e-flow-c|ontrol-o|
|00000630| 6e 20 22 76 74 31 30 30 | 22 20 22 68 31 39 22 29 |n "vt100|" "h19")|
|00000640| 27 20 74 6f 20 65 6e 61 | 62 6c 65 20 66 6c 6f 77 |' to ena|ble flow|
|00000650| 20 63 6f 6e 74 72 6f 6c | 0a 6f 6e 20 56 54 2d 31 | control|.on VT-1|
|00000660| 30 30 20 61 6e 64 20 48 | 31 39 20 74 65 72 6d 69 |00 and H|19 termi|
|00000670| 6e 61 6c 73 2e 20 20 57 | 68 65 6e 20 66 6c 6f 77 |nals. W|hen flow|
|00000680| 20 63 6f 6e 74 72 6f 6c | 20 69 73 20 65 6e 61 62 | control| is enab|
|00000690| 6c 65 64 2c 0a 79 6f 75 | 20 6d 75 73 74 20 74 79 |led,.you| must ty|
|000006a0| 70 65 20 43 2d 5c 20 74 | 6f 20 67 65 74 20 74 68 |pe C-\ t|o get th|
|000006b0| 65 20 65 66 66 65 63 74 | 20 6f 66 20 61 20 43 2d |e effect| of a C-|
|000006c0| 73 2c 20 61 6e 64 20 74 | 79 70 65 20 43 2d 5e 0a |s, and t|ype C-^.|
|000006d0| 74 6f 20 67 65 74 20 74 | 68 65 20 65 66 66 65 63 |to get t|he effec|
|000006e0| 74 20 6f 66 20 61 20 43 | 2d 71 2e 0a 0a 54 68 69 |t of a C|-q...Thi|
|000006f0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 68 61 73 20 6e |s functi|on has n|
|00000700| 6f 20 65 66 66 65 63 74 | 20 75 6e 6c 65 73 73 20 |o effect| unless |
|00000710| 74 68 65 20 63 75 72 72 | 65 6e 74 20 64 65 76 69 |the curr|ent devi|
|00000720| 63 65 20 69 73 20 61 20 | 74 74 79 2e 0a 0a 54 68 |ce is a |tty...Th|
|00000730| 65 20 74 74 79 20 74 65 | 72 6d 69 6e 61 6c 20 74 |e tty te|rminal t|
|00000740| 79 70 65 20 69 73 20 64 | 65 74 65 72 6d 69 6e 65 |ype is d|etermine|
|00000750| 64 20 66 72 6f 6d 20 74 | 68 65 20 54 45 52 4d 20 |d from t|he TERM |
|00000760| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|00000770| 61 62 6c 65 2e 0a 54 72 | 61 69 6c 69 6e 67 20 68 |able..Tr|ailing h|
|00000780| 79 70 68 65 6e 73 20 61 | 6e 64 20 65 76 65 72 79 |yphens a|nd every|
|00000790| 74 68 69 6e 67 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |thing fo|llowing |
|000007a0| 69 73 20 73 74 72 69 70 | 70 65 64 2c 20 73 6f 20 |is strip|ped, so |
|000007b0| 61 20 54 45 52 4d 0a 76 | 61 6c 75 65 20 6f 66 20 |a TERM.v|alue of |
|000007c0| 22 76 74 31 30 30 2d 6e | 61 6d 22 20 69 73 20 74 |"vt100-n|am" is t|
|000007d0| 72 65 61 74 65 64 20 74 | 68 65 20 73 61 6d 65 20 |reated t|he same |
|000007e0| 61 73 20 22 76 74 31 30 | 30 22 2e 1f 0a 28 64 65 |as "vt10|0"...(de|
|000007f0| 66 61 6c 69 61 73 20 27 | 65 6e 61 62 6c 65 2d 66 |falias '|enable-f|
|00000800| 6c 6f 77 2d 63 6f 6e 74 | 72 6f 6c 2d 6f 6e 20 23 |low-cont|rol-on #|
|00000810| 5b 28 26 72 65 73 74 20 | 6c 6f 73 69 6e 67 2d 74 |[(&rest |losing-t|
|00000820| 65 72 6d 69 6e 61 6c 2d | 74 79 70 65 73 29 20 22 |erminal-|types) "|
|00000830| c0 c1 21 c2 1b 89 1c ab | 9a 0c 0d b6 ac 95 c6 c7 |..!.....|........|
|00000840| 0c 5c 22 89 13 ab 88 0c | c8 0b 4f 89 14 aa 69 c2 |.\".....|..O...i.|
|00000850| 89 14 ac 66 0c ad 82 c9 | 20 2a 87 22 20 5b 67 65 |...f....| *." [ge|
|00000860| 74 65 6e 76 20 22 54 45 | 52 4d 22 20 6e 69 6c 20 |tenv "TE|RM" nil |
|00000870| 68 79 70 68 65 6e 64 20 | 74 65 72 6d 20 6c 6f 73 |hyphend |term los|
|00000880| 69 6e 67 2d 74 65 72 6d | 69 6e 61 6c 2d 74 79 70 |ing-term|inal-typ|
|00000890| 65 73 20 73 74 72 69 6e | 67 2d 6d 61 74 63 68 20 |es strin|g-match |
|000008a0| 22 5b 2d 5f 5d 5b 5e 2d | 5f 5d 2b 24 22 20 30 20 |"[-_][^-|_]+$" 0 |
|000008b0| 65 6e 61 62 6c 65 2d 66 | 6c 6f 77 2d 63 6f 6e 74 |enable-f|low-cont|
|000008c0| 72 6f 6c 5d 20 34 20 28 | 23 24 20 2e 20 31 34 38 |rol] 4 (|#$ . 148|
|000008d0| 36 29 5d 29 0a 28 70 72 | 6f 76 69 64 65 20 27 66 |6)]).(pr|ovide 'f|
|000008e0| 6c 6f 77 2d 63 74 72 6c | 29 0a |low-ctrl|). |
+--------+-------------------------+-------------------------+--------+--------+